﻿@model IEnumerable<Streetlight.Store.Contracts.ProductCategory>

<table>

@foreach (var item in Model) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.Name)
        </td>
        <td>
            @Html.ActionLink("Delete", "RemoveCategory", new { id = ViewBag.Id, categoryId = item.Id })
        </td>
    </tr>
}

</table>
